﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    /// <summary>
    /// 国家实体
    /// </summary>
    [Table("Country")]
    public class Model_Country:Model.Entities.Model_Base
    {        
        [Column("ID")]
        [Required]
        [Key]
        public string ID { get; set; }
        /// <summary>
        /// 国家名称
        /// </summary>
        [Required]
        [Column("CountryName")]
        public string CountryName { get; set; }
        /// <summary>
        /// 国家代码
        /// </summary>
        [Column("CountryCode")]
        public string CountryCode { get; set; }
        [Column("EnglishName")]
        public string EnglishName { get; set; }

    }
}
